GUATEMALA CITY — A judge in Guatemala has granted a stay of the deportation of John McAfee to Belize, where authorities want to question him about the killing of a neighbor, an attorney for the Internet software pioneer said Friday.

Under the order, McAfee will remain in Guatemala until his immigration case is heard in court, which may be more than a month, said Telesforo Guerra.

McAfee remains in an immigration detention center in Guatemala City but could be released as early as next week, the lawyer said.

Authorities in Belize want to talk to him about the Nov. 11 killing of his neighbor, American businessman Gregory Faull.