Add all of the ingredients to a small pot and stir well. Bring it to the boil, then reduce the heat and simmer for 5 minutes.
Allow to cool completely, then store in an airtight container in the fridge for up to 2 months.
Or substitute for tamarind paste
