Preheat the oven to 200°C / 180°C fan-forced. Line a large tray with baking paper and set aside.
In a bowl, toss the pumpkin and 1 tablespoon olive oil. Season well with salt and pepper. Spread in an even layer on the lined tray and roast for 40-45 minutes until caramelised at the edges.
While the pumpkin roasts, heat remaining oil in a large pot or tagine over medium heat. Cook onion for 8–10 minutes until golden.
Add coriander, cumin and chili (if using), and cook for 2 minutes until fragrant.
Pour in coconut cream. Cook over medium-low heat for 12–15 minutes, stirring occasionally, until it separates from the oil and turns deeply golden at the edges. The sauce will thicken and darken.
Add the tomatoes, tamarind and brown sugar. If the sauce is too thick add a dash (about 80ml) of water.
Simmer for 10 minutes until the sauce has reduced and deepened. Taste and adjust salt, tamarind, or sugar to balance.
Fold in the roasted pumpkin. Close the lid and simmer for 5 minutes until it absorbs the sauce without the pumpkin breaking down.
Serve with steamed rice. Finish with dried apricots and green olives.
