Rupee weakens against US dollar