I've spent quite a few years searching for a film I saw when I was young which for me was in the 80's so the latest this could have been is 1990.
My "memory" of it is very fragmented. I seem to remember it being dubbed into English, no idea what the base language was. There was a poor orphan peasant girl who was searching for her younger brother. He has been kidnapped by a gang of thieves because he had the magical ability to sense and find gold so he was useful to them. The peasant girl journeys, possibly for years, searching and having adventures.
Then towards the end she finally finds her brother who's grown up. Because of his gift he's now the king of the thieves and lives in a big castle. But he's not the innocent little boy she had been searching for and is a mean young man now. I cant remember much more except that as it ends his powers are revealed to have grown to the point that not only can he sense gold but he can now summon it to come to him. I've kind of got this mental image of him yelling
"come to me gold"
and skeletons being pulled out of the ground because of the gold jewellery they are wearing.