Preheat the oven to 170°C (340°F).
Grease a round cake pan or cake ring and line the bottom with parchment paper.
In a mixing bowl, cream the softened butter and sugar until smooth and well combined.
Add the eggs one at a time, mixing well after each addition.
Gently stir in the almond flour, without overmixing.
Add the vanilla extract, rum, or orange blossom water.
Sift in the flour and baking powder.
Mix gently just until combined. Do not whisk or overwork the batter.
Pour the batter into the prepared pan and smooth the top.
Bake for about 45 minutes, depending on your oven, until the cake is golden and a toothpick inserted into the center comes out clean. Be careful not to overbake, as the cake can brown too much and may burn.
Unmold the cake onto a wire rack and let it cool completely before icing the top.