Pretty sure it is Indian. The rear of the stock, where the butt joins, looks very much like those found on Indian and Persian matchlocks, with the pronounced step down to the stock. The miguelet lock is a little puzzling for an Indian piece but, if it was made in the area around Goa then there may be Portuguese/Spanish influence. The butt stock does not resemble most of the Arab/North African long guns I have seen which usually have fairly tall butts. It is probably a smooth bore, not a rifle.