Fry the 1st 3 ingredients in little oil. Add salt and grind into a smooth paste. Heat little oil in a pan and add this ground paste and fry until it becomes thick.