Dry roast the whole spices, cool and grind with the powdered spices (except dry red chilli) in a grinder/mortar and pestle.
Marinate the chicken pieces with the spice mixture and salt; leave for at least 30 minutes. (It is not necessary to use the entire spice mixture, use according to taste and spice preference)
Soak the dry red chillies in water for 30 minutes. Squeeze excess water and process along with shallots, ginger, garlic and lemon grass to get a coarse paste.
Heat ghee in a deep pan, add the aromatics paste and stir-fry on medium heat to remove rawness. Add the marinated chicken pieces and brown.
Then add enough water for gravy, vinegar, sugar and salt to taste. Cook till the chicken pieces are tender.