Mix the coarsely ground pistachios, almond flour, flour and baking powder.
Cream the butter and sugar well. Add the grated lemon zest.
Add the eggs to the butter one at a time, adding the flour mixture in batches until everything is combined.
Lightly grease the cake tin with butter and pour in the batter.
Bake at 175°C for about 45 minutes. Check with a wooden skewer. If it comes out dry and clean, without batter sticking to it, the cake is done. Leave to cool on a rack.
Mix the powdered sugar and lemon juice into a glaze and pour it over the cooled cake. Sprinkle with chopped pistachios. Enjoy!