Wash and soak the rice. Cook as you regularly cook and spread for the rice to cool down.
Heat a nonstick pan with oil, temper with mustard, urad dal, chana dal, peanuts, curry leaves.
Saute for a minute, then add cashew nuts, green chilies and cook for few seconds.
Wash and chop the brinjal into long pieces, soak in water until use.
Add the brinjal, salt, and turmeric powder and simmer for 10 minutes until the brinjal gets cooked.
Add the tamarind juice, continue cooking, add the ground spice powder. Simmer until get done.
When the oil starts coming out on the sides, add the cooked rice and fluff well.
When the masala is well mixed, add ghee. Cover for 5 minutes.
Serve with papad or appam.