Soak lemon size tamarind in warm water.
Heat oil in a wok. Add mustard seeds,let it splutter.
Add cumin seeds,urad dal,toor dal, fenugreek seeds,dry red chilli and saute .
Next add crushed garlic, curry leaves and a pinch of asoefitida powder and toss.
Add sliced onions with little salt and saute till it becomes very soft and translucent.
Add turmeric powder and Sambar powder and mix well in low flame.
Add the tamarind pulp with some more water and let it boil.
Add Red Chilli Powder and mix well.
To adjust the consistency,mix 1 tbsp rice flour in a cup of water and add this to the gravy
Keep stirring continuously to avoid any lumps .
When you get the desired consistency,sprinkle some curry leaves on top and switch off the flame.