Remove the seeds and the stringy portion and put aside.
Bake the pumpkin at 375 F facedown or face-up with a foil over it for about 60-75 minutes for a 2 pound chunk.
Check if the pumpkin is ready by poking it with a fork. If it is soft then it is done and you can take it out of the oven.
Let it cool enough so it's safe to handle and scoop out the flesh using a large spoon. Discard any burned flesh.
Place a non-stick pan on medium heat, add the ghee/butter/oil and pumpkin, mix them up and mash in the pan.
When the pumpkin is completely mashed add the sugar and mix well.
You need to continue cooking for a while until the liquids dry up and the pumpkin turns an amber, glossy red.
A good sign that it's ready is that the pumpkin doesn't stick any more to the pan. When that happens reduce the heat, add the cardamom powder, mix well, cook for another minute and take the pan off the heat.