First make the pastry. Sift the flour and salt into a bowl. Add the butter and gently rub into the flour until it looks like fine breadcrumbs. Add enough water to make dough and form into a smooth ball. Cover with cling film and chill for an hour.
When the pastry has relaxed then roll out on a lightly floured board to ¾mm thick and line a 20cm loose bottomed fluted flan ring.
Cover the pastry with nonstick baking paper and fill with baking beans. Cook blind on a baking sheet in the oven set at gas mark 4/180C/350F for about 12 minutes, then carefully remove the beans and the paper and return the case to the oven and cook for a further 5 minutes.
Meanwhile, prepare the filling using the flesh scooped out from the pumpkin. Steam the flesh for 15-20 minutes, drain and then mash. Leave to cool and then beat the eggs together with the sugar and stir into the pumpkin mixture. Add the cinnamon, nutmeg and ground ginger.
Pour the filling into the pastry case, sprinkle the seeds on top and bake in the oven set at gas 5/190C/375F for about 45 minutes until the filling has set.
See all Halloween recipes
Freezing and defrosting guidelines
Bake according to the recipe but stop before adding decoration or icing if called for. Allow to cool completely. Wrap well in clingfilm and tin foil (to prevent freezer burn) and freeze for up to 3 months.
Loosen the tin foil and clingfilm but leave to defrost in packaging at room temperature for several hours before serving. If you wish to serve the baked goods warm, place them on a baking sheet for 10 minutes in a moderate oven.
If you wish to add icing or decoration, add them after the baked goods have fully defrosted and are at room temperature.