
Tip the butter, flour, and mustard powder into a food processor, along with half a teaspoon of salt, then whizz until you can’t see any lumps of butter.
Add roughly 4-5 tablespoons of cold water, a spoonful at a time, while pulsing until the pastry comes together.
Tip out onto a clean surface, then roll into a ball, wrap in clingfilm, and chill while you make the filling.
Melt the butter in a frying pan, then add the onion and gently sweat for 10-15 minutes until really soft but not very coloured.
Stir in the peas for 1 minute, then turn off the heat and stir in the ham, mint, and ricotta with plenty of seasoning.
Heat the oven to 180 degrees C/gas mark 4.
Divide the pastry into 4 equal-sized pieces.
Roll each piece into a neat circle with a diameter of approximately 16cm, cut round a saucer or lid.
Brush the edges with a little of the beaten egg.
Divide the filling evenly between each pastry round, spooning it into the centres.
Bring up opposite sides of the pastry, then seal.
Crimp each to make a pasty shape.
Carefully lift the pasties onto a baking tray, then brush them all over with more egg.
Bake for 40-45 minutes until golden and crisp.
Leave to cool slightly, then serve either warm or cold.
4 servings