2 possible causes spring to mind----do you have electronic ignition or 'points'. If it is 'electronic' there is a fair chance that it has been cooked---the distributor is right in the path of the 'cooling' air coming over the engine. Being that air can be over 100deg C, this temperature is out with the temperature operating range of all the electronic ignitions and will slowly cook them---the symptoms are exactly as you are describing.
If you still have 'points' ignition, there is a fair chance that it is the condenser at fault---for exactly the same reason; they don't like extreme heat. One way round that problem is to purchase one of the "Swiftune" competition condensers (SW.1G-CC) which, due to the wiring on them, can be mounted up by the coil---away from the heat. The 'Swiftune' condensers are not cheap, but due to the way that they are built, and the reason for their development, you are unlikely to get much problem with them. If you do fit one of these condensers, take advantage of its wire lengths and mount it by the coil.