Chop green chilli and ginger.
Soak tamarind and squeeze juice.
Cut mangoes into small pieces, do not peel the skin.
Heat oil in a kadai, add groundnuts.
Fry them till they turn brown, add bengal gram and black gram.
When they start changing their colour, add mustard seeds and cumin seeds.
Allow them to splutter, add chopped ginger and green chillies.
Fry them. Add tamarind juice.
Add salt, asafoetida and curry leaves. Mix it well.
Add red chilli powder. Keep stirring continuously till it leaves oil.
Cook this mixture till the oil separates.
The mixture should be thick, as it is for tamarind rice.
Once the oil separates, add chopped mango pieces.
Switch off the flame and mix well.
Once all the mango pieces coated with the masala, transfer this to a wide plate to cool.
Store pulihora avakaya in an airtight container. It can be stored for one month.