Grease a baking dish (I use a glass one) with vegetable oil.
Boil or bake the pumpkin and blend into a puree. Set aside 500g for the pumpkin layer and 100g for the glaze.
Blend the cottage cheese mixture until smooth, then separately blend the pumpkin mixture.
Pour the two mixtures into the dish alternately, like a Zebra cake. If the cottage cheese mixture is dense, spoon it in randomly and pour the pumpkin mixture over it, alternating a couple of layers.
Bake at 160°C for 40-50 minutes.
Meanwhile, blend the ingredients for the glaze. Take out the casserole, pour the glaze over it and return to the oven for another 20-30 minutes.
Let the finished casserole cool in the oven, then remove and slice.