The people of Ghana have been told before that oil will be their saviour. But as President John Kufuor steps down after two terms of office, his successor could be the first leader to see benefits from an offshore discovery of oil reserves estimated at 1.8 billion barrels. Ghana would become an "African tiger", Kufuor said last year. "With oil as a shot in the arm, we're going to fly."
Ghanaians go to the polls on 7 December to select a successor to Kufuor. Eleven million voters will choose between two leading candidates - Nana Addo Dankwa Akufo-Addo of the ruling New Patriotic Party and his National Democratic Congress opponent, Professor John Evans Atta Mills. It is expected to be a close-fought election.
The new president could see the crude start to flow in 2010, and his main task will be to ensure Ghana does not fall victim to the curse that stalks so many oil-rich nations.
The reserves in the waters of the old Gold Coast could make Ghana one of sub-Saharan Africa's biggest oil producers - though they are small compared with neighbouring Nigeria's (more than 36 billion barrels) or Angola's (eight billion).
Voters will see those two examples as instructive. They need only look a couple of hundred miles east to the Niger Delta to see that oil wealth and better lives do not go hand in hand. Here the local people suffer, their fishing waters polluted, their villages sliced in half by leaky oil pipelines, while only the politicians, bandits and foreign companies seem to benefit.
To the south, in Angola, oil revenues do not reach much beyond the president's family and cronies - certainly not as far as Luanda's sprawling slums.
Vitus Azeem, who runs the Ghanaian branch of Transparency International, the Berlin-based anti-corruption watchdog, doubts that Ghana's find will do much for its 23 million people. He points out that the nation's other troves of natural wealth failed to enrich the people. After all, it is the world's second-biggest cocoa grower and Africa's second-largest gold miner, yet remains a low-income country where most of the population live on less than a dollar and a half a day.
International interest in African oil is growing fast. Last year, the continent produced 12.5 per cent of world oil - and Ghana is the "new play". The government has issued exploration licences to a slew of foreign consortia and the Ghana National Petroleum Corporation is taking a share in all to ensure revenues for the country. But the national oil company has a patchy history. This past summer, Tsatsu Tsikata, a former head, was jailed for five years for misappropriating state funds.
Both presidential candidates are well aware of the pitfalls that await an oil-producing Ghana. On the plus side, the incoming president will have the benefit of advice from Norway, the country that has probably been most successful in handling oil wealth; there is talk of transparency, safeguards such as bank accounts controlled by independent third parties, and of investing in schools, health and infrastructure.
President Kufuor, a gentle if uninspiring man, has strengthened democracy and the economy. An important part of his legacy will be secured if, as expected, this handover of power is free and fair.
But when the first barrels of oil are pumped, Ghanaians will demand more than democracy of their new leaders. Aidan Heavey, chief executive of Tullow Oil, an Anglo-Irish company, believes there is reason to be optimistic. He describes the Jubilee field, so named because its discovery coincided with Ghana's 50th anniversary of independence in 2007, as "world-class, a jewel".
"Ghana is incredibly fortunate that it has found oil today and not 30 years ago," says Heavey. During the oil boom of the 1970s, foreign companies struck far more lucrative deals with African governments.
The deal with Tullow gives Ghana nearly two-thirds of profits; in addition, oil companies will pay 35 per cent income tax. This is expected to amount to billions of petrodollars.
The question for Ghana's voters is what the country's new rulers would choose to do with this newfound wealth.