Preheat the oven to 375°F and line a baking sheet with parchment paper.
In a medium sized bowl mix melted butter, sugar, almond flour, one egg, vanilla extract and all purpose flour. Set aside.
Roll out the pie crust and spoon out the frangipane mixture onto the crust, leaving 2-3 inches border on all sides.
Place the pear slices on the frangipane and make sure they're close to each other. Sprinkle the cinnamon on the pears.
Fold the edges over the filling, overlapping the dough as necessary.
Crack the remaining one egg in a small bowl and beat to combine. Brush it on the crust.
Bake in the oven for 25 to 30 minutes until the curst is golden and flaky.
Cool for 10 minutes and then slice. Serve with ice cream if desired.