Hub-motor for commuting and light trail use
Crank motor for proper off-road stuff.
The more your usage is bent towards commuting, the stronger the argument for a hub-motor. For hub-motor bikes, stick with long-established brands, like Wisper, Juicy, Oxygen or similar.