Sift the flour, add the butter cut into cubes and use your fingertips to rub the flour and butter together until you get a mixture that resembles breadcrumbs.
Add the sifted icing sugar and baking powder, spices and mix well.
Add the vanilla extract, egg and egg yolks, and knead gently into a dough.
Cover the dough with clingfilm, and refrigerate for 30 minutes.
Once the dough has chilled, roll out the dough on a lightly floured surface to about 3-4 mm thickness.
Use the larger pumpkin-shaped cookie cutter to cut out an even number of shapes.
Using the smaller cookie shape, cut out the centre of half of the cookies.
Carefully remove the pumpkin shape from the middle of each cookie.
Rework the dough as needed.
Arrange the cookies on a large baking tray lined with non-stick paper if the tray is not nonstick, making sure to leave room between each cookie.
Bake in the preheated oven at 180 degrees Celsius (350 Fahrenheit) for 12-15 minutes or until the edges are slightly light brown ( see notes).
Remove the cookies from the oven and allow them to cool down completely.
Spread a layer of pumpkin butter over the whole pumpkin shapes, then carefully place the shapes with the cut-out middle on top.
Sprinkle with icing sugar.