There are many ways a dent in the rim can be fixed, and I'd pondered most whilst considering advice from friends and availability of tools. I was leaning towards using a car jack to push the bend out. However, I was chatting to the owner of the auberge and they suggested just using a hammer. He had a few bangs and so did a mechanic fixing a 4x4 on site. This didn't do much to the dent. The owner said he knew a good blacksmith in town, so he drove me there.
Two men were sat in the sand working when we arrived. One of them had a bad eye, which looked mostly white without pupil. I can't recall what they were working on but it was small size. They looked at the wheel and directed us to a colleague. He grabbed hammers and heavy metal items to place underneath the wheel and started whacking it.
I felt uneasy with every blow and I hoped the rim wouldn't crack. However, the outcome was good. The dent was no longer and the flat spot was almost gone. Impressive. That would've taken me a whole day!
The wheel is by no means perfect, but it should suffice for the time being. I tightened the spokes and put the tyre back on. After not much physical activity in recent weeks, today was tiring!