Hi, Sammy.
>>Now my big Question .Who owns the Software?
>>
NOTE: No aggreement was put in place to that effect since the initial idea was to develop a system for him to use in his company.>
>You need to consult a lawyer who is familiar with the intellectual property laws of Ghana. Anything we say here is a guess based on our own experiences, in our own countries.
I basically agree with Tamar, but from my experience, yyou have here two different aspects.
From a legal standpoint, if you didn't sign anything, the most probable thing is that if you go to the Intellectual Property Office in Ghana and register a Copyright, then you can win in the case of a lawsuit (if they didn't registered it first).
From a commercial perspective, try to evaluate what chances do you really have to sell the software on your own to this prospective market. In most cases, if you are an independent developer, it could be quite difficult for you to do it, and if your customer gets angry they could act as a very bad reference. If they have a good position and they have more chances to resell the solution, maybe it is better for you to accept their proposition, but this time DO sign an agreement or contract as John suggested, and have a local lawyer help you with that. You may reserve for you the rights to provide any customization service on your own, so you can earn some extra money from the additional licenses, and also have more work from new customers by further adapting the system.
If you make the move properly, this could be a good opportunity. If you are like most of us, having someone selling for you could be great, even if you get the smaller slice. ;-)
Best luck,