Well if you can download the source and compile it, I don't think it being legal really matters, just host it in a country that doesn't care.