Meanwhile, in a blender or mini food processor, puree the onion, garlic and ginger. Heat the butter or oil over a medium flame in a small skillet. Add the paprika, turmeric and cayenne,
and fry for 30 seconds. Add the onion mixture and fry for
about 10 minutes, until rather dry and lightly browned.