Combine apricots, water, sugar and lemon juice in a saucepan and bring to a boil. Reduce the heat and simmer covered for 25-30 minutes, until apricots are soft. Remove the cover and continue cooking until the water evaporates and the apricots form a paste, about 1 hour. Keep an eye on the mixture, stirring occasionally and add a little more water if necessary so that the apricots do not burn.
Preheat oven to 350°F.
Combine all dough ingredients and mix until crumbly. Press 2/3 of the dough into a lightly oiled 8 inch square (or round for a pie) baking pan. Spread with the apricot paste. Sprinkle with the remaining dough and press lightly.