Chop the peanuts coarsely in a mini food processor, in a mortar or with a hammer.
In a bowl, mix the chopped peanuts, butter, flour and sugar.
Place on a baking sheet and bake in the oven for 15-20 minutes at 180 degrees.
Take it out, let it cool down a bit.