Cover mushrooms with cold water in a pot, bring to the boil and simmer for about 5 minutes. Clean and wash the pumpkin, scrape out the seeds. Cut the flesh into small pieces. Cut bacon into strips.
Drain mushrooms through a sieve. Heat oil in a pan. Fry the mushrooms for 2-3 minutes while turning them, take them out. Add pumpkin and bacon to the hot frying fat, fry for 3-4 minutes while turning, remove pan from heat
Grease a box mould (8 x 20 cm). Mix softened butter with a fork, add eggs and 1 teaspoon each of salt and pepper. Stir in mushrooms, pumpkin and bacon with frying fat. Mix flour and baking powder, fold in. Bake in the preheated oven (electric cooker: 175 °C/ circulating air: 150 °C/ gas: level 2) for 45-55 minutes, cover if necessary and test with sticks. Serve with a fruity chutney or a herb quark