One suggestion would be: provide the open-source program in the usual way (maemo extras, etc.) and then, on request per e-mail plus payment you reply with an encrypted database that the user must place in a given directory.