Thanks!
I am quite sure it is not a Blighia sapida, because I came across that tree before and the fruits of this one looked very different.
Silversurfer, the fruits looked very much like those from your links. I think, however, that the leaves look different?
As I am currently not in Ghana I cannot cut a fruit.