The generation of magnetic fields in astrophysical bodies. IX - A solar dynamo based on horizontal shear.