Wash and soak the rice. Heat oil and add whole spices, when they crackle add onions. Saute and add ginger and garlic paste. Saute and add slit green chilly, turmeric, red chilly powder and coriander powder. Add diced baingan saute and add chopped tomatoes. Sprinkle some salt.
Add water sufficient for the rice. Bring to a boil and add the rice. Add mint and coriander leaves. Cook covered till all the water is absorbed. Serve hot.