Toast the curry leaves and cumin, mustard, and coriander seeds in a dry pan over low heat for about 2 minutes until aromatic (be careful not to burn them). Add a pinch of salt and the dried chiles. Add a little oil, then sweat the onion in it for 2 minutes. Add the garlic and cook over low heat for 1–2 minutes until soft.