Pretty boat, unusual rig

I saw this intriguing boat in Palma, Majorca, a couple of weeks ago. It seems the yard is as long as the boat and carries a square sail. I never saw it under sail, though.

A pretty thing.