Matka" gambling or satta" is a form of lottery which originally involved betting on the opening and closing rates of cotton transmitted from the New York Cotton Exchange.
 It originates from before the era of Indian independence when it was known as "Ankada Jugar" ("figures gambling").
 In the 1960s, the system was replaced with other ways of generating random numbers, including pulling slips from a large earthenware pot known as a "matka", or dealing playing cards.
Dharmatama is a 1975 Hindi thriller movie and the first Bollywood film to be shot in Afghanistan.
 It was produced and directed by Feroz Khan.
 The movie is the first attempt in India to localise "The Godfather".
 The title character was based on matka (form of Indian gambling) king Ratan Khatri.
 It is said that Khan sat down with Khatri to learn more about him and understand the nuances of matka.
 The cast includes Feroz Khan, Hema Malini, Rekha, Premnath, Imtiaz Khan, Danny Denzongpa, Farida Jalal, Ranjeet, Helen, Madan Puri, Jeevan, Iftekhar and Dara Singh, satyen kappu and sudhir.
 The music is by Kalyanji Anandji.
 This film took Feroz Khan to new heights in his career as this was a blockbuster movie.
 The same year, "Sholay" and "Deewar" were released.
 The film is also its scenes featuring Buzkashi a Central Asian sport on horses, including aerial shots, which in turn won film's cinematographer, Kamal Bose, Filmfare Award for Best Cinematographer.
Lottery betting is the activity of predicting the results of a lottery draw and placing a wager on the outcome.
 Lottery betting (also known as lotto betting) is a form of online gambling, run by licensed betting firms, where players place bets on the outcome of lottery draws instead of buying physical or online  tickets via official lottery operators.
TOTO is a legalized form of lottery sold in Singapore, known by different names elsewhere.
 Singapore Pools is the only legal lottery operator in Singapore.
 It was established on 23 May 1968 to control widespread illegal gambling in Singapore during the 1960s.
A lottery is a form of gambling that involves the drawing of numbers for a prize.
 Lotteries are outlawed by some governments, while others endorse it to the extent of organizing a national or state lottery.
 It is common to find some degree of regulation of lottery by governments; the most common regulation is prohibition of sale to minors.
 Though lotteries were common in the United States and some other countries during the 19th century, by the beginning of the 20th century, most forms of gambling, including lotteries and sweepstakes, were illegal in the U.S. and most of Europe as well as many other countries.
 This remained so until well after World War II.
 In the 1960s casinos and lotteries began to re-appear throughout the world as a means for governments to raise revenue without raising taxes.
A lottery is a form of gambling which involves the drawing of lots for a prize.
 Lottery is outlawed by some governments, while others endorse it to the extent of organizing a national or state lottery.
 It is common to find some degree of regulation of lottery by governments.
 In several countries, lotteries are legalized by the governments themselves .
The Kentucky Lottery, consisting of various games of chance, is a government-regulated form of gambling.
 The Lottery began in April 1989 after a November 1988 vote in which over 60% of voters cast ballots in favor of it.
 On April 4, 1989, ticket sales began with first day sales of over $5 million for the two available instant games.
 The first two games were scratch-off tickets, "Beginner's Luck" ($1) and "Kentucky Derby Dreamstakes" ($2).
The numbers game, also known as the numbers racket, the policy racket, the Italian lottery, the policy game, or the daily number is a form of illegal gambling or illegal lottery played mostly in poor and working class neighborhoods in the United States, wherein a bettor attempts to pick three digits to match those that will be randomly drawn the following day.
 In recent years, the "number" would be the last three digits of "the handle", the amount race track bettors placed on race day at a major racetrack, published in racing journals and major newspapers in New York.
 A gambler places a bet with a bookie at a tavern, bar, barber shop, social club, or any other semi-private place that acts as an illegal betting parlor.
Gambling in Taiwan is prohibited by the Criminal Code of the Republic of China.
 State-run lotteries, like the Uniform Invoice lottery, are the only legal form of gambling on mainland Taiwan.
 The construction of casinos on some off-shore islands was legalised in 2009, though to date none have been built.
 Some gambling-style games (like cards and mahjong) are allowed on special days or under special restricted circumstances.
Charity gambling is a "form of incentivized giving" where a charity (or a group of charities), rather than a municipality or private casino, oversees gambling activities such as bingo, roulette, lottery, and slot machines and uses the proceeds to further its charitable aims.

Question: What film is based on the king of the gambling that is a form of Indian lottery?
Answer: Dharmatama