Stuart MacGill will join Mark O'Neill, a fellow Australian, in the Bangladesh backroom staff for the Test series against Australia. © Getty Images

Stuart MacGill will join Mark O’Neill, a fellow Australian, in the Bangladesh backroom staff for the Test series against Australia. © Getty Images

Bangladesh have set their sights on winning both upcoming Tests against Australia, and should get some inside knowledge from Stuart MacGill, the former Australian legspinner, according to Chandika Hathurusingha.

MacGill is close to joining another Australian, Mark O’Neill, on the Bangladesh backroom staff for the tour by the world number three-ranked nation.

Australia are due to arrive on August 18 for their first Test series in Bangladesh since 2006, if a pay dispute between their players and Cricket Australia is resolved in time.

The two Tests will be followed by a Bangladesh tour of South Africa for two Tests and three One-Day Internationals in September-October.

Bangladesh are looking to build on a year in which they recorded their maiden Test wins over England and Sri Lanka, before reaching the Champions Trophy semifinal in June.

“We have made some progress in Test cricket. Now we have the game-plan of winning in the subcontinent. We want to win the two Tests against Australia,” said Hathurusingha, the coach of the team.

Bangladesh already have Courtney Walsh, the former West Indies paceman, as fast bowling coach. O’Neill, a former Western Australia and New South Wales allrounder, has joined as batting consultant and MacGill is set to follow.

The Bangladesh Cricket Board has not confirmed the appointment of MacGill, who took 208 wickets in 44 Tests for Australia. But Hathurusingha insisted he would stay for at least the Australia and South Africa campaigns.

“MacGill is here for three months to see, and if he is happy and the players are benefiting, it will be long-term,” said Hathurusingha. “We didn’t have a spin bowling coach since (Ruwan) Kalpage left us. We need that help, as that’s a specialised area.

“Working, for me, is easier because all these guys are good coaches and they know what they are doing.”

The first Test against Australia is at Dhaka’s Sher-e-Bangla National Stadium from August 27. The second starts in Chittagong on September 4.

Australia were to play two Tests in Bangladesh in October 2015 but the tour was cancelled over security fears after a wave of attacks by extremists.