In a bowl, mix flour, butter and salt until mixture has the consistency of sand. Add egg and part of the water. Knead the dough and add rest of the water a little at a time according to the consistency of the dough. When the dough is homogeneous, wrap it and allow to rest 2 hours in the fridge.