In a pan dry roast coconut, peanuts, sesame seeds and poppy seeds (khus khus).
Roast for 5-6 minutes till you get a nice aroma and then transfer to a blender.
Add little water [if required] and blend it to a fine paste. Set aside.
Curry
In a pan heat 2 tablespoons of oil on medium heat.
Add the eggplants and cook on medium heat till eggplants are little soft, around 10-12 minutes. Remember you don't want them to be too soft.
Remove the eggplants from pan and place on a kitchen towel.
In the same pan add 1 tablespoon of oil on medium heat. Once the oil is hot add mustard seeds and let them crackle. Then add onion seeds and fennel seeds.
Add chopped green chilli and curry leaves and mix.
Add chopped onions and cook till they are translucent. Then add ginger-garlic paste and cook till the raw smell goes away, around 2-3 minutes.
Once the ginger-garlic is cooked, add the dry spices - cumin powder, coriander powder and red chilli powder. Also add the salt and mix.
Cook the spices for 2-3 minutes, add around 1/2 cup of water to make sure spices don't burn.
Now add the coconut-peanut paste to the pan.
Add turmeric powder and paprika powder and cook the paste for 5-6 minutes on medium-low flame.
Add the fried eggplants to the masala and mix.
Now add 2 cups of water, cover and cook the curry on medium-low flame for 15-20 minutes.
Add garam masala, tamarind pulp, sugar and mix.
Switch off the flame, add some fresh coriander leaves and serve immediately.