More than 10,000 tons of cannabis are produced on the continent each year, according to a UN survey, which advocates believe could be worth billions of dollars in a rapidly expanding global market for legal weed.

African governments have not yet followed the trend of legalization seen in Europe and the Americas. But Lesotho's recent announcement of the continent's first legal license to grow marijuana is part of a wider shift toward more liberal policies.

From Morocco to South Africa, there is growing interest in cashing in on a valuable crop. But in each case there are unique challenges to face.

Lesotho

Read More

The tiny, landlocked nation has few natural resources. But Lesotho is a giant of the marijuana trade.

"Cannabis is grown almost everywhere in the country," a UNESCO report found, noting the industry is a leading contributor to the economy in a country plagued by poverty. Much of this comes through illicit trade with Lesotho's larger, richer neighbor, South Africa.

The government has now signaled its intentions to bring the business out of the shadows by awarding the first license for cultivation and sale to South African alternative medicine company Verve Dynamics.

However, no formal steps have been taken to legalize or regulate the vast network of existing farmers and traders.

South African alternative medicine company Verve Dynamics will cultivate medical marijuana in Lesotho.

Morocco

The North African state is famous for its hashish and is second only to Afghanistan as a producer of the substance, according to the UN Office on Drugs and Crime (UNODC).

Such dizzying numbers have underpinned a growing movement for legalization. In 2014, an opposition party in the Moroccan parliament with close ties to the monarchy proposed a bill to legalize marijuana production for medical and industrial use.

But the bill failed, and the movement suffered a further setback with the resignation of leading advocate Ilyas El Omari. There has also been opposition to legalization from conservative religious groups, and even cannabis farmers who are concerned their crop might lose value.

Cannabis plantations in the northern Moroccan Larache region.

Malawi

Malawi is well known for the prevalence and quality of marijuana production within its borders, including the sought after "Malawi Gold" strain.

The government is now cultivating hemp on a trial basis, ahead of potential legalization of the non-psychoactive cannabis strain for industrial uses such as fabric and food products. This represents a major development after a lengthy battle with drug control groups and religious leaders that fiercely opposed any softening of policy.

Both advocates and critics of legalizing hemp have suggested that marijuana could be next, a longstanding demand of the country's Rastafarian minority, which claims that smoking 'chamba' is integral to their culture.

'Malawi Gold' is among the most popular strains of cannabis in the US.

Ghana

Ghanaians are heavy consumers of marijuana, according to the UNODC, which is prohibited but widely tolerated.

A pro-legalization campaign has been gathering momentum in recent years, with support from the former head of the Narcotics Control Board. The movement recently received another boost when the executive director of the Ghana Standards Authority suggested that state-led cultivation and export of marijuana could generate valuable income.

But a vociferous backlash from government officials and mental health experts showed this will not be easily achieved. The influential Christian Council of Ghana has also spoken out against legalization, warning this would "destroy the future of our young people."

Marijuana discovered by police inside a DVD case in Accra.

Swaziland

The continent's last absolute monarchy is plagued by poverty, but boasts an abundance of marijuana.

Prominent public figures have suggested using the cannabis crop to boost the economy, including Swaziland's housing and development minister, while the national commissioner of police has called for a study.

The Swazi House of Assembly has now appointed a committee to explore the possibility of legalization, according to recent reports.

However, similar proposals have been discussed for several years without moving forward, and police continue to make regular arrests for cultivation of marijuana.

South Africa

Campaigners in Cape Town march for the legalization of marijuana.

One of the continent's largest economies is also among its leading markets for marijuana, or "dagga" as it is locally known. South Africa produces around 2,500 tons a year, according to a UN report.

Several legal battles are ongoing over the future of the drug in South Africa. The Dagga Party won a landmark ruling this year to permit smoking in the home on privacy grounds, without changing the legal status of the herb.

The so-called "dagga couple" Julian Stobbs and Myrtle Clarke are going further in seeking the right to grow and consume marijuana, which could establish a far-reaching precedent.

The South African government has already published guidelines for medical marijuana, paving the way for legal licenses.

But medical authorities have warned that potential health risks may not be well understood, and public access will likely depend on the outcomes of clinical trials.

Photos:7 uses for medical marijuana

Between its outlaw image, controversial legal status and complex makeup -- the cannabis plant contains more than 400 individual chemicals -- marijuana's action in the brain and body is in many ways a mystery. The vast majority of studies on the drug have examined potential harm, as opposed to potential benefits. Even so, some medical uses are widely accepted and others are the subject of serious research. Here's a look at some potential uses of marijuana as medicine.

Hide Caption

1 of 8

Photos:7 uses for medical marijuana

Pain – In the United States, pain is the most common condition for which medical cannabis is taken. Studies show the drug is especially effective against neuropathic pain, a type of pain involving nerve damage. Marijuana is less habit-forming than opiate drugs and carries virtually no risk of a fatal overdose.

Hide Caption

2 of 8

Photos:7 uses for medical marijuana

Multiple sclerosis – Sativex, a pharmaceutical version of cannabis, is approved in 25 countries as a treatment for painful muscle spasms arising from multiple sclerosis.

Hide Caption

3 of 8

Photos:7 uses for medical marijuana

Nausea – The munchies are no joke. Marijuana is sometimes prescribed to stop nausea or induce appetite in people who have trouble eating, including patients suffering from AIDS or going through chemotherapy for cancer.

Hide Caption

4 of 8

Photos:7 uses for medical marijuana

Epilepsy – More than 100 families have moved to Colorado to access "Charlotte's Web," a cannabis strain that in some epileptic children seems to dramatically reduce seizures. Taken as an oil, the medicine is high in a chemical called CBD and low in THC, the component that makes people "high."

Hide Caption

5 of 8

Photos:7 uses for medical marijuana

Concussion – NFL commissioner Roger Goodell said the league is following the work of Israeli researchers who are exploring cannabis as a potential treatment for traumatic brain injury. In 2003, along with two colleagues, Nobel laureate Julius Axelrod, an American, obtained a patent on the drug for its anti-inflammatory and neuroprotective properties.

Hide Caption

6 of 8

Photos:7 uses for medical marijuana

Alzheimer's disease – In studies of rats, marijuana helps stave off memory problems and Alzheimer's-like brain changes. A leading researcher said the drug's iffy legal status has held up further research.

Hide Caption

7 of 8

Photos:7 uses for medical marijuana

Bipolar disorder – A small study at Harvard found that marijuana seems to stabilize the brains of people who suffer from bipolar disorder. Some studies show the drug actually raises the risk of developing mental illness, but those findings are controversial.