Firstly cut the brinjals into + form and put them in salt water.
Dry roast peanuts, coconut, sesame seeds separately and allow it to cool.
In a pan, add onions, smear little oil and roast them for a minute.
Make a fine masala paste of all the roasted ingredients which are peanuts, coconut, onions, sesame seeds and put it aside.
In a cooking pot, add oil and heat it, add cumin seeds, mustard seeds and allow them to crackle.
Add fenugreek seeds, dried red chillies, saute well, add curry leaves.
Add the brinjals/eggplant/baingan and fry them well until the color of the baingan changes.
Add ginger garlic and saute well for few minutes.
Add the masala paste into it, mix well.
Add salt, red chilli powder, turmeric powder, coriander powder, mix well and cook the masala until oil appears at the corners.
Add the tamarind extracted pulp and stir well.
Add water if required and salt too.
Add tomato which is cut into two halves.
Cook the whole bagara baingan ka salan until the gravy thickens and oil appears.
Garnish with coriander leaves.
Serve hot with roti or rice.