A store has a special offer for its customers. If a customer spends over $100, they will receive a 20% discount on the total purchase.
Maria wants to buy a new laptop that costs $800 before the discount. She also wants to purchase a mouse and a keyboard, which together cost $60. If she applies the discount, what will be the total amount she needs to pay for her purchases?