Heat a pan and roast all the ingredients meant for roasting.
Cool, powder and keep aside.
Heat oil in a pan.
Add the curry leaves.
After a few seconds, add the chopped onions and saute till they turn brown in colour.
Add the chopped tomatoes and saute till fat leaves masala.
Now add the powdered spices and mix well.
Add the chicken and give a good stir.
Cover and cook till the chicken is done.
If you want gravy, you can add some hot water and let boil for a couple of minutes till the gravy is thickened.
Switch off heat. Serve with Appam, Rice or Rotis.