Preheat your oven to 375°F (190°C).
In a medium bowl, combine the flour, sugar, baking powder, and salt.
Cut in the cold butter using a pastry cutter or your fingers until the mixture resembles coarse crumbs.
Stir in the egg until the dough comes together.
Press the dough into the bottom and up the sides of a 9-inch pie pan or tart pan.
In a medium saucepan, combine the blueberries, sugar, cornstarch, lemon juice, and lemon zest.
Cook over medium heat, stirring frequently, until the mixture thickens and starts to bubble (about 5-7 minutes). Remove from heat.
Pour the blueberry filling into the prepared crust, spreading it evenly.
In a small bowl, combine the flour and sugar.
Cut in the cold butter until the mixture resembles coarse crumbs.
Sprinkle the topping evenly over the blueberry filling.
Bake the pie in the preheated oven for about 35-45 minutes, or until the topping is golden brown and the filling is bubbly.
Allow the pie to cool completely before serving.
Enjoy your meal!