Mix flour and salt in your mixer bowl and gradually add water until the dough gets separated from the sides of the bowl.
Keep kneading until you get a nice elastic dough.
Divide the dough into 6 equal parts.
Place the dough pieces in a deep bowl, add enough oil to cover and let it rest for at least 4 hours, the more the better.
Meanwhile make the filling by adding all the ingredients on a medium heat until it thickens.
Pour into a 13X9 pan and refrigerate until ready to use.
When the dough is ready take one ball roll it thin, then cut into 4 equal parts.
Take the filling out of the fridge and cut into 24 equal squares.
Take one square and place it in the center of one part of the dough, press lightly to flatten a bit.
Fold the dough over the filling to form a square as shown below.
Heat oil and fry until all sides are golden brown.
Sprinkle top with powdered sugar and pistachios.Serve immediately.