Heat the oven to 350 F and butter a 2 quart baking dish.
In a large bowl, toss the apple wedges with the lemon juice, the sugar and the flour until coated. Pour them into the buttered dish.
For the topping, combine the flour, oats, brown sugar, cinnamon and salt in a large bowl.
Work in the chilled butter with a food processor, a pastry blender or your fingers. Stop as soon as the mixture comes together and large clumps form. Fold in the toasted nuts.
Sprinkle the topping evenly over the apples.
Bake for about 45 minutes, until the apples are bubbling and the topping is golden brown and crisp.
Serve warm, with vanilla bean ice cream or fresh whipped cream if you like. The recipe serves 6 to 8.