A rummage sale in the next small village, Tiznat, just 2km from our breakdown and I spot a 20" rear wheel for sale. It is expensive at Dh150 and has too short an axle and the wrong pitch sprocket but another 60 dirham to a very helpful mechanic and those issues are solved. A minor miracle and it works perfectly!