Sift flour onto the board.
Cut butter underneath, crumble briefly.
Add sugar, flavoring ingredients and egg, knead together briefly.
Let rest in a cool place for at least 30 minutes (wrap in plastic wrap to prevent the dough from drying out).
Shape or cut out pastry and bake at 180°C for about 10 minutes.